<?php
/**
 * 模版引擎
 * @example     Lib_Extend_Discuz::getInstance
 * @copyright	http://www.easymvc.com
 * @author 		光哥 <439884988@qq.com>
 * @version		1.0 - 2012-06-29
 * @package		Lib
 */
if(!defined('EASYMVC')) {
	exit('Access Denied');
}
require EXTENDPATH.'discuz.php';

/**
 * discuz
 */
class Lib_Extend_Discuz extends Discuz{
    public function __construct(){
   
        $this->objdir = BASEPATH .Frame_Config::get("env.cache_dir");
        $this->defaulttpldir = BASEPATH.Frame_Config::get("env.tpl_dir");
		
    }
	public static function getInstance(){
		static $obj;
		if(!$obj) {
			$obj = new self();
		}
		
		return $obj;
	}
}
?>